<template>
  <div class="icon-item g-flex-c">
    <img :src="ossUrl+'market/'+icon" class="left"/>
    <div class="right">
      <div class="text-top">{{textTop}}</div>
      <div class="text-bottom">{{textBottom}}</div>
    </div>
  </div>
</template>
<script>
import {ossUrl} from '@/utils/config'
export default {
  props:{
    page: String,
    icon:{
      type: String,
      default: 'market-icon-tree.png'
    },
    textTop: String,
    textBottom: String
  },
  data(){
    return{
      ossUrl,
    }
  }
}
</script>
<style lang="less" scoped>
.icon-item{
  color: #3A3874;
  font-family: PingFangSC-Regular, PingFang SC;
  .left{
    width: 63px;
    height: 63px;
    margin-right: 20px;
  }
  .right{
    .text-top{
      font-size: 18px;
      font-weight: 500;
      color: rgba(0, 0, 0, 0.85);
      margin-bottom: 5px;
    }
    .text-bottom{
      font-size: 16px;
      color: #999999;
    }
  }
}
</style>